package cn.lili.modules.operationcenter.entity.vos;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
public class OperationCenterSupplierVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "省份ID")
    private String provinceId;

    @ApiModelProperty(value = "供货商ID")
    private String supplierId;

    @ApiModelProperty(value = "供货商名称")
    private String supplierName;

    @ApiModelProperty(value = "供货商所属城市分站Id")
    private String urbanId;

    @ApiModelProperty(value = "供货商所属城市分站")
    private String urbanName;

    @ApiModelProperty(value = "供货商入驻时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "商品总数量")
    private Integer goodsCount = 0;

    @ApiModelProperty(value = "本月商品数量")
    private Integer goodsCountByMonth = 0;

    @ApiModelProperty(value = "违规下架商品数量")
    private Integer downGoodsCount = 0;

    @ApiModelProperty(value = "本月违规下架商品数量")
    private Integer downGoodsCountByMonth = 0;
}
